package com.lee.boot.head.first.demo.Generic.pet;

import com.lee.boot.head.first.demo.Generic.Pet;


/**
 * @author: Lee
 * @Date: 2019/2/14 10:10
 * @Description:
 */
public class Cup<T extends Pet> {
    public void add(T t) {
        System.out.println("add");
    }

    public void pull(T t) {
        System.out.println("pull");
    }

    public void roll(Cup<? super Cat> cup) {

    }
}
